package com.leiyuee.gulimall.cart.config;

import java.util.concurrent.ThreadFactory;

public class MyThreadFactory implements ThreadFactory {
    /**
     * 该方法用来创建线程
     * @param r
     * @return
     */
    @Override
    public Thread newThread(Runnable r) {
        return new Thread(r);
    }
}
